<template>
    <div :class="[btnClass,cname]">
        <slot>确定</slot>
    </div>
</template>

<script>
  export default {
    name: "TheBtn",
    data() {
      return {
        btnClass: 'btn'
      };
    },
    props: {
      // 自定义样式
      cname: {
        type: String,
        default: ''
      }
    }
  };
</script>

<style lang="scss" scoped>
    @import "../style/element.scss";

    .btn {
        @include btn;
    }
</style>
